﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="booking.aspx.cs" Inherits="BlueMarineWebClient.user.booking" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
    <head id="Head1" runat="server">
        <title>Blue Marine Hotel Offical Website _ we offer the best !!</title>
        <link href="/Web/Styles/templatemo_style.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
        <form id="form1" runat="server">
            <div id="templatemo_top_wrapper">
                <div id="templatemo_top">
                    <div id="templatemo_header">
            
                        <div id="site_title"><h1><a href="" target="_parent">Blue Marine Hotel</a></h1></div>
            
                    </div> <!-- end of header -->



                    <div style="-moz-box-shadow: 0 0 3px rgba(0, 0, 0, .5); ; -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, .5); background: #F5F5F3; background-image: url(); background-position: right bottom; background-repeat: no-repeat; border: 5px solid #fff; box-shadow: 0 0 3px rgba(0, 0, 0, .5); margin: 0 auto; min-height: 300px; opacity: 1; padding: 5px 0px 15px 0px; width: 700px;">
                        <center><asp:Label ID="lblBookTitle" runat="server" Text="Label" Font-Bold="False" 
                                           Font-Size="Large" ForeColor="#3366FF"></asp:Label>
                            <br />
                            <asp:Label ID="lblError" runat="server" Text="Label"></asp:Label>
                            <br />
                            <asp:Label ID="lblRule" runat="server" Text=""></asp:Label>
                        </center>
                        <br />
                        <asp:GridView ID="gvBookingList" runat="server" 
                                      onrowdatabound="gvBookingList_RowDataBound" Width="100%" 
                                      AutoGenerateColumns="False" onrowdeleting="gvBookingList_RowDeleting" 
                                      ShowFooter="True">
                            <Columns>
                                <asp:BoundField DataField="RoomID" HeaderText="RoomID" FooterText="Total" 
                                                ReadOnly="True">
                                    <ItemStyle HorizontalAlign="Center" />
                                </asp:BoundField>
                                <asp:BoundField DataField="Price" HeaderText="Price" DataFormatString="{0:c}" ReadOnly="True">
                                    <ItemStyle HorizontalAlign="Right" />
                                </asp:BoundField>
                                <asp:BoundField DataField="InDate" HeaderText="InDate" 
                                                DataFormatString="{0:d}" />
                                <asp:BoundField DataField="OutDate" HeaderText="OutDate" 
                                                DataFormatString="{0:d}" />
                                <asp:BoundField DataField="Amount" HeaderText="Amount" DataFormatString="{0:c}" FooterText="TotalAmount"
                                                ReadOnly="True">
                                    <ItemStyle HorizontalAlign="Right" />
                                    <FooterStyle HorizontalAlign="Right" />
                                </asp:BoundField>
                                <asp:CommandField HeaderText="Operation" ShowDeleteButton="True" 
                                                  ShowHeader="True" DeleteText="Remove" />
                            </Columns>

                        </asp:GridView>        
                        <center></center>
                        <center>
                            <asp:Button ID="btnAction" runat="server" CssClass="bluebutton" 
                                        Text="Book Now !" onclick="btnAction_Click" /></center>
    
                        <div ><a href="/Web/">Back to HomePage</a></div>
                    </div>


               


                    <div class="cleaner"></div>

    
                </div>
            </div>


            <div id="templatemo_main">
                <div align="center">
                    Copyright © 2048 <a href="#">Blue Marine Hotel</a> | 
                    <a href="" target="_parent">Final Project</a> by 
                    <a href="" target="_parent">Group 4</a>
                </div>

            </div>
        </form>
    </body>
</html>